package com.spark.core;

import java.io.IOException;

import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;

public interface SparkHandler {
	
	public static final String SPARK_NAME_SPACE = "com.spark.ui";
	public static final String SPARK_PREFIX = "s";
	public static final String TAG_SCREEN = "screen";
	public static final String TAG_ACTIONS = "actions";
	public static final String TAG_CACHE = "cache";
	
	public void processDocument(XmlPullParser xpp) throws XmlPullParserException, IOException;

	public XMap getRoot();
}